<div class="strip well span4" style="margin-left: 2px;">
	<div class="row">
		<div class="span4"> <h3> <?=$element->name?> </h3> </div>
		
		<div class="span1">
			<select name="switch_<?=$element->id?>" data-element="<?=$element->id?>" class="switch" data-role="slider"
				onChange="saveCommandeStrip('<?=$element->id?>');">
				<option value="0" <?=($element->current_value == 0) ? "selected=true" : ""?>>Off</option>
				<option value="255" <?=($element->current_value > 0) ? "selected=true" : ""?>>On</option>
			</select>
		</div>
		<div class="span3 slider slider_<?=$element->id?> <?=($element->current_value == 0)?"hide":""?>">
			<input type="range" name="value_<?=$element->id?>" style="width:100%;display:none" class="hide slider_strip" data-element="<?=$element->id?>"  value="<?=$element->current_value?>"
			min="0" max="255"/>
		</div>
		
		<div class="span4"> </div>

		<div class="span4">
			<select name="color_<?=$element->id?>" id="select_color_<?=$element->id?>" onChange="saveCommandeStrip('<?=$element->id?>');">
			   <option value="blue">bleu</option>
			   <option value="red">rouge</option>
			   <option value="pink">rose</option>
			   <option value="green">vert</option>
			   <option value="orange">orange</option>
			   <option value="yellow">jaune</option>
			   <option value="blank">blanc</option>
			</select>
		</div>
	</div>
</div>